
class CSortHeaderCtrl : public CHeaderCtrl
{
private:	//	static proc
 static void DrawHeadItem(HDC aDC, LPHDITEM phdi, CRect arect);
 static void OnClick(HWND ahandle, int acol, unsigned );
	static int ICON_WIDTH;

// Attributes
protected:
	unsigned	m_nArrow;	//	mirror of container

// Construction and Overrides
public:
	CSortHeaderCtrl() : m_nArrow(0) 
		{ ICON_WIDTH = ::GetSystemMetrics(SM_CXICON); }
	virtual BOOL OnChildNotify(UINT amsg, WPARAM wparam, LPARAM lparam, LRESULT* );
	virtual ~CSortHeaderCtrl() {}
	virtual void DrawItem(LPDRAWITEMSTRUCT lpdata);
};
